"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7029],{98456:function(e,t,o){o.d(t,{Z:function(){return P}});var r=o(63366),n=o(87462),l=o(67294),i=o(63961),a=o(94780),s=o(70917),c=o(98216),d=o(28628),u=o(90948),p=o(1588),f=o(34867);function h(e){return(0,f.ZP)("MuiCircularProgress",e)}(0,p.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var b=o(85893);const m=["className","color","disableShrink","size","style","thickness","value","variant"];let v,g,S,Z,w=e=>e;const x=44,y=(0,s.keyframes)(v||(v=w` 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } `)),C=(0,s.keyframes)(g||(g=w` 0% { stroke-dasharray: 1px, 200px; stroke-dashoffset: 0; } 50% { stroke-dasharray: 100px, 200px; stroke-dashoffset: -15px; } 100% { stroke-dasharray: 100px, 200px; stroke-dashoffset: -125px; } `)),k=(0,u.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`color${(0,c.Z)(o.color)}`]]}})((({ownerState:e,theme:t})=>(0,n.Z)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&(0,s.css)(S||(S=w` animation: ${0} 1.4s linear infinite; `),y))),B=(0,u.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),M=(0,u.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.circle,t[`circle${(0,c.Z)(o.variant)}`],o.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>(0,n.Z)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,s.css)(Z||(Z=w` animation: ${0} 1.4s ease-in-out infinite; `),C)));var P=l.forwardRef((function(e,t){const o=(0,d.i)({props:e,name:"MuiCircularProgress"}),{className:l,color:s="primary",disableShrink:u=!1,size:p=40,style:f,thickness:v=3.6,value:g=0,variant:S="indeterminate"}=o,Z=(0,r.Z)(o,m),w=(0,n.Z)({},o,{color:s,disableShrink:u,size:p,thickness:v,value:g,variant:S}),y=(e=>{const{classes:t,variant:o,color:r,disableShrink:n}=e,l={root:["root",o,`color${(0,c.Z)(r)}`],svg:["svg"],circle:["circle",`circle${(0,c.Z)(o)}`,n&&"circleDisableShrink"]};return(0,a.Z)(l,h,t)})(w),C={},P={},R={};if("determinate"===S){const e=2*Math.PI*((x-v)/2);C.strokeDasharray=e.toFixed(3),R["aria-valuenow"]=Math.round(g),C.strokeDashoffset=`${((100-g)/100*e).toFixed(3)}px`,P.transform="rotate(-90deg)"}return(0,b.jsx)(k,(0,n.Z)({className:(0,i.Z)(y.root,l),style:(0,n.Z)({width:p,height:p},P,f),ownerState:w,ref:t,role:"progressbar"},R,Z,{children:(0,b.jsx)(B,{className:y.svg,ownerState:w,viewBox:"22 22 44 44",children:(0,b.jsx)(M,{className:y.circle,style:C,ownerState:w,cx:x,cy:x,r:(x-v)/2,fill:"none",strokeWidth:v})})}))}))},93946:function(e,t,o){o.d(t,{Z:function(){return Z}});var r=o(63366),n=o(87462),l=o(67294),i=o(63961),a=o(94780),s=o(2101),c=o(90948),d=o(28628),u=o(49990),p=o(98216),f=o(1588),h=o(34867);function b(e){return(0,h.ZP)("MuiIconButton",e)}var m=(0,f.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),v=o(85893);const g=["edge","children","className","color","disabled","disableFocusRipple","size"],S=(0,c.ZP)(u.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"default"!==o.color&&t[`color${(0,p.Z)(o.color)}`],o.edge&&t[`edge${(0,p.Z)(o.edge)}`],t[`size${(0,p.Z)(o.size)}`]]}})((({theme:e,ownerState:t})=>(0,n.Z)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var o;const r=null==(o=(e.vars||e).palette)?void 0:o[t.color];return(0,n.Z)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,n.Z)({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":(0,n.Z)({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.Fq)(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${m.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}));var Z=l.forwardRef((function(e,t){const o=(0,d.i)({props:e,name:"MuiIconButton"}),{edge:l=!1,children:s,className:c,color:u="default",disabled:f=!1,disableFocusRipple:h=!1,size:m="medium"}=o,Z=(0,r.Z)(o,g),w=(0,n.Z)({},o,{edge:l,color:u,disabled:f,disableFocusRipple:h,size:m}),x=(e=>{const{classes:t,disabled:o,color:r,edge:n,size:l}=e,i={root:["root",o&&"disabled","default"!==r&&`color${(0,p.Z)(r)}`,n&&`edge${(0,p.Z)(n)}`,`size${(0,p.Z)(l)}`]};return(0,a.Z)(i,b,t)})(w);return(0,v.jsx)(S,(0,n.Z)({className:(0,i.Z)(x.root,c),centerRipple:!0,focusRipple:!h,disabled:f,ref:t},Z,{ownerState:w,children:s}))}))},26447:function(e,t,o){var r=o(1819),n=o(90948),l=o(28628);const i=(0,r.Z)({createStyledComponent:(0,n.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,l.i)({props:e,name:"MuiStack"})});t.Z=i},40044:function(e,t,o){o.d(t,{Z:function(){return S}});var r=o(63366),n=o(87462),l=o(67294),i=o(63961),a=o(94780),s=o(49990),c=o(98216),d=o(28628),u=o(90948),p=o(1588),f=o(34867);function h(e){return(0,f.ZP)("MuiTab",e)}var b=(0,p.Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),m=o(85893);const v=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],g=(0,u.ZP)(s.Z,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.label&&o.icon&&t.labelIcon,t[`textColor${(0,c.Z)(o.textColor)}`],o.fullWidth&&t.fullWidth,o.wrapped&&t.wrapped,{[`& .${b.iconWrapper}`]:t.iconWrapper}]}})((({theme:e,ownerState:t})=>(0,n.Z)({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${b.iconWrapper}`]:(0,n.Z)({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${b.selected}`]:{opacity:1},[`&.${b.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${b.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${b.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${b.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${b.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})));var S=l.forwardRef((function(e,t){const o=(0,d.i)({props:e,name:"MuiTab"}),{className:s,disabled:u=!1,disableFocusRipple:p=!1,fullWidth:f,icon:b,iconPosition:S="top",indicator:Z,label:w,onChange:x,onClick:y,onFocus:C,selected:k,selectionFollowsFocus:B,textColor:M="inherit",value:P,wrapped:R=!1}=o,N=(0,r.Z)(o,v),I=(0,n.Z)({},o,{disabled:u,disableFocusRipple:p,selected:k,icon:!!b,iconPosition:S,label:!!w,fullWidth:f,textColor:M,wrapped:R}),z=(e=>{const{classes:t,textColor:o,fullWidth:r,wrapped:n,icon:l,label:i,selected:s,disabled:d}=e,u={root:["root",l&&i&&"labelIcon",`textColor${(0,c.Z)(o)}`,r&&"fullWidth",n&&"wrapped",s&&"selected",d&&"disabled"],iconWrapper:["iconWrapper"]};return(0,a.Z)(u,h,t)})(I),E=b&&w&&l.isValidElement(b)?l.cloneElement(b,{className:(0,i.Z)(z.iconWrapper,b.props.className)}):b;return(0,m.jsxs)(g,(0,n.Z)({focusRipple:!p,className:(0,i.Z)(z.root,s),ref:t,role:"tab","aria-selected":k,disabled:u,onClick:e=>{!k&&x&&x(e,P),y&&y(e)},onFocus:e=>{B&&!k&&x&&x(e,P),C&&C(e)},ownerState:I,tabIndex:k?0:-1},N,{children:["top"===S||"start"===S?(0,m.jsxs)(l.Fragment,{children:[E,w]}):(0,m.jsxs)(l.Fragment,{children:[w,E]}),Z]}))}))},10760:function(e,t,o){o.d(t,{Z:function(){return G}});var r=o(63366),n=o(87462),l=o(67294),i=o(63961),a=o(94780),s=o(82056),c=o(82963),d=o(90948),u=o(28628),p=o(2734),f=o(57144);let h;function b(){if(h)return h;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),h="reverse",e.scrollLeft>0?h="default":(e.scrollLeft=1,0===e.scrollLeft&&(h="negative")),document.body.removeChild(e),h}function m(e,t){const o=e.scrollLeft;if("rtl"!==t)return o;switch(b()){case"negative":return e.scrollWidth-e.clientWidth+o;case"reverse":return e.scrollWidth-e.clientWidth-o;default:return o}}function v(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var g=o(58974),S=o(5340),Z=o(85893);const w=["onChange"],x={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var y=o(82066),C=(0,y.Z)((0,Z.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),k=(0,y.Z)((0,Z.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),B=o(49990),M=o(1588),P=o(34867);function R(e){return(0,P.ZP)("MuiTabScrollButton",e)}var N=(0,M.Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);const I=["className","slots","slotProps","direction","orientation","disabled"],z=(0,d.ZP)(B.Z,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.orientation&&t[o.orientation]]}})((({ownerState:e})=>(0,n.Z)({width:40,flexShrink:0,opacity:.8,[`&.${N.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})));var E=l.forwardRef((function(e,t){var o,l;const d=(0,u.i)({props:e,name:"MuiTabScrollButton"}),{className:p,slots:f={},slotProps:h={},direction:b}=d,m=(0,r.Z)(d,I),v=(0,s.V)(),g=(0,n.Z)({isRtl:v},d),S=(e=>{const{classes:t,orientation:o,disabled:r}=e,n={root:["root",o,r&&"disabled"]};return(0,a.Z)(n,R,t)})(g),w=null!=(o=f.StartScrollButtonIcon)?o:C,x=null!=(l=f.EndScrollButtonIcon)?l:k,y=(0,c.Z)({elementType:w,externalSlotProps:h.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g}),B=(0,c.Z)({elementType:x,externalSlotProps:h.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g});return(0,Z.jsx)(z,(0,n.Z)({component:"div",className:(0,i.Z)(S.root,p),ref:t,role:null,ownerState:g,tabIndex:null},m,{children:"left"===b?(0,Z.jsx)(w,(0,n.Z)({},y)):(0,Z.jsx)(x,(0,n.Z)({},B))}))})),W=o(2068);function T(e){return(0,P.ZP)("MuiTabs",e)}var $=(0,M.Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),F=o(8038);const j=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],L=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,A=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,D=(e,t,o)=>{let r=!1,n=o(e,t);for(;n;){if(n===e.firstChild){if(r)return;r=!0}const t=n.disabled||"true"===n.getAttribute("aria-disabled");if(n.hasAttribute("tabindex")&&!t)return void n.focus();n=o(e,n)}},H=(0,d.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${$.scrollButtons}`]:t.scrollButtons},{[`& .${$.scrollButtons}`]:o.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,o.vertical&&t.vertical]}})((({ownerState:e,theme:t})=>(0,n.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${$.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}))),O=(0,d.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.scroller,o.fixed&&t.fixed,o.hideScrollbar&&t.hideScrollbar,o.scrollableX&&t.scrollableX,o.scrollableY&&t.scrollableY]}})((({ownerState:e})=>(0,n.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"}))),X=(0,d.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.flexContainer,o.vertical&&t.flexContainerVertical,o.centered&&t.centered]}})((({ownerState:e})=>(0,n.Z)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),Y=(0,d.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((({ownerState:e,theme:t})=>(0,n.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0}))),V=(0,d.ZP)((function(e){const{onChange:t}=e,o=(0,r.Z)(e,w),i=l.useRef(),a=l.useRef(null),s=()=>{i.current=a.current.offsetHeight-a.current.clientHeight};return(0,g.Z)((()=>{const e=(0,f.Z)((()=>{const e=i.current;s(),e!==i.current&&t(i.current)})),o=(0,S.Z)(a.current);return o.addEventListener("resize",e),()=>{e.clear(),o.removeEventListener("resize",e)}}),[t]),l.useEffect((()=>{s(),t(i.current)}),[t]),(0,Z.jsx)("div",(0,n.Z)({style:x},o,{ref:a}))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),q={};var G=l.forwardRef((function(e,t){const o=(0,u.i)({props:e,name:"MuiTabs"}),d=(0,p.Z)(),h=(0,s.V)(),{"aria-label":g,"aria-labelledby":w,action:x,centered:y=!1,children:C,className:k,component:B="div",allowScrollButtonsMobile:M=!1,indicatorColor:P="primary",onChange:R,orientation:N="horizontal",ScrollButtonComponent:I=E,scrollButtons:z="auto",selectionFollowsFocus:$,slots:G={},slotProps:_={},TabIndicatorProps:K={},TabScrollButtonProps:U={},textColor:J="primary",value:Q,variant:ee="standard",visibleScrollbar:te=!1}=o,oe=(0,r.Z)(o,j),re="scrollable"===ee,ne="vertical"===N,le=ne?"scrollTop":"scrollLeft",ie=ne?"top":"left",ae=ne?"bottom":"right",se=ne?"clientHeight":"clientWidth",ce=ne?"height":"width",de=(0,n.Z)({},o,{component:B,allowScrollButtonsMobile:M,indicatorColor:P,orientation:N,vertical:ne,scrollButtons:z,textColor:J,variant:ee,visibleScrollbar:te,fixed:!re,hideScrollbar:re&&!te,scrollableX:re&&!ne,scrollableY:re&&ne,centered:y&&!re,scrollButtonsHideMobile:!M}),ue=(e=>{const{vertical:t,fixed:o,hideScrollbar:r,scrollableX:n,scrollableY:l,centered:i,scrollButtonsHideMobile:s,classes:c}=e,d={root:["root",t&&"vertical"],scroller:["scroller",o&&"fixed",r&&"hideScrollbar",n&&"scrollableX",l&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",i&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[n&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,a.Z)(d,T,c)})(de),pe=(0,c.Z)({elementType:G.StartScrollButtonIcon,externalSlotProps:_.startScrollButtonIcon,ownerState:de}),fe=(0,c.Z)({elementType:G.EndScrollButtonIcon,externalSlotProps:_.endScrollButtonIcon,ownerState:de});const[he,be]=l.useState(!1),[me,ve]=l.useState(q),[ge,Se]=l.useState(!1),[Ze,we]=l.useState(!1),[xe,ye]=l.useState(!1),[Ce,ke]=l.useState({overflow:"hidden",scrollbarWidth:0}),Be=new Map,Me=l.useRef(null),Pe=l.useRef(null),Re=()=>{const e=Me.current;let t,o;if(e){const o=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:m(e,h?"rtl":"ltr"),scrollWidth:e.scrollWidth,top:o.top,bottom:o.bottom,left:o.left,right:o.right}}if(e&&!1!==Q){const e=Pe.current.children;if(e.length>0){const t=e[Be.get(Q)];0,o=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:o}},Ne=(0,W.Z)((()=>{const{tabsMeta:e,tabMeta:t}=Re();let o,r=0;if(ne)o="top",t&&e&&(r=t.top-e.top+e.scrollTop);else if(o=h?"right":"left",t&&e){const n=h?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;r=(h?-1:1)*(t[o]-e[o]+n)}const n={[o]:r,[ce]:t?t[ce]:0};if(isNaN(me[o])||isNaN(me[ce]))ve(n);else{const e=Math.abs(me[o]-n[o]),t=Math.abs(me[ce]-n[ce]);(e>=1||t>=1)&&ve(n)}})),Ie=(e,{animation:t=!0}={})=>{t?function(e,t,o,r={},n=(()=>{})){const{ease:l=v,duration:i=300}=r;let a=null;const s=t[e];let c=!1;const d=()=>{c=!0},u=r=>{if(c)return void n(new Error("Animation cancelled"));null===a&&(a=r);const d=Math.min(1,(r-a)/i);t[e]=l(d)*(o-s)+s,d>=1?requestAnimationFrame((()=>{n(null)})):requestAnimationFrame(u)};s===o?n(new Error("Element already at target position")):requestAnimationFrame(u)}(le,Me.current,e,{duration:d.transitions.duration.standard}):Me.current[le]=e},ze=e=>{let t=Me.current[le];ne?t+=e:(t+=e*(h?-1:1),t*=h&&"reverse"===b()?-1:1),Ie(t)},Ee=()=>{const e=Me.current[se];let t=0;const o=Array.from(Pe.current.children);for(let r=0;re){0===r&&(t=e);break}t+=n[se]}return t},We=()=>{ze(-1*Ee())},Te=()=>{ze(Ee())},$e=l.useCallback((e=>{ke({overflow:null,scrollbarWidth:e})}),[]),Fe=(0,W.Z)((e=>{const{tabsMeta:t,tabMeta:o}=Re();if(o&&t)if(o[ie]t[ae]){const r=t[le]+(o[ae]-t[ae]);Ie(r,{animation:e})}})),je=(0,W.Z)((()=>{re&&!1!==z&&ye(!xe)}));l.useEffect((()=>{const e=(0,f.Z)((()=>{Me.current&&Ne()}));let t;const o=o=>{o.forEach((e=>{e.removedNodes.forEach((e=>{var o;null==(o=t)||o.unobserve(e)})),e.addedNodes.forEach((e=>{var o;null==(o=t)||o.observe(e)}))})),e(),je()},r=(0,S.Z)(Me.current);let n;return r.addEventListener("resize",e),"undefined"!==typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(Pe.current.children).forEach((e=>{t.observe(e)}))),"undefined"!==typeof MutationObserver&&(n=new MutationObserver(o),n.observe(Pe.current,{childList:!0})),()=>{var o,l;e.clear(),r.removeEventListener("resize",e),null==(o=n)||o.disconnect(),null==(l=t)||l.disconnect()}}),[Ne,je]),l.useEffect((()=>{const e=Array.from(Pe.current.children),t=e.length;if("undefined"!==typeof IntersectionObserver&&t>0&&re&&!1!==z){const o=e[0],r=e[t-1],n={root:Me.current,threshold:.99},l=new IntersectionObserver((e=>{Se(!e[0].isIntersecting)}),n);l.observe(o);const i=new IntersectionObserver((e=>{we(!e[0].isIntersecting)}),n);return i.observe(r),()=>{l.disconnect(),i.disconnect()}}}),[re,z,xe,null==C?void 0:C.length]),l.useEffect((()=>{be(!0)}),[]),l.useEffect((()=>{Ne()})),l.useEffect((()=>{Fe(q!==me)}),[Fe,me]),l.useImperativeHandle(x,(()=>({updateIndicator:Ne,updateScrollButtons:je})),[Ne,je]);const Le=(0,Z.jsx)(Y,(0,n.Z)({},K,{className:(0,i.Z)(ue.indicator,K.className),ownerState:de,style:(0,n.Z)({},me,K.style)}));let Ae=0;const De=l.Children.map(C,(e=>{if(!l.isValidElement(e))return null;const t=void 0===e.props.value?Ae:e.props.value;Be.set(t,Ae);const o=t===Q;return Ae+=1,l.cloneElement(e,(0,n.Z)({fullWidth:"fullWidth"===ee,indicator:o&&!he&&Le,selected:o,selectionFollowsFocus:$,onChange:R,textColor:J,value:t},1!==Ae||!1!==Q||e.props.tabIndex?{}:{tabIndex:0}))})),He=(()=>{const e={};e.scrollbarSizeListener=re?(0,Z.jsx)(V,{onChange:$e,className:(0,i.Z)(ue.scrollableX,ue.hideScrollbar)}):null;const t=re&&("auto"===z&&(ge||Ze)||!0===z);return e.scrollButtonStart=t?(0,Z.jsx)(I,(0,n.Z)({slots:{StartScrollButtonIcon:G.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:pe},orientation:N,direction:h?"right":"left",onClick:We,disabled:!ge},U,{className:(0,i.Z)(ue.scrollButtons,U.className)})):null,e.scrollButtonEnd=t?(0,Z.jsx)(I,(0,n.Z)({slots:{EndScrollButtonIcon:G.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:fe},orientation:N,direction:h?"left":"right",onClick:Te,disabled:!Ze},U,{className:(0,i.Z)(ue.scrollButtons,U.className)})):null,e})();return(0,Z.jsxs)(H,(0,n.Z)({className:(0,i.Z)(ue.root,k),ownerState:de,ref:t,as:B},oe,{children:[He.scrollButtonStart,He.scrollbarSizeListener,(0,Z.jsxs)(O,{className:ue.scroller,ownerState:de,style:{overflow:Ce.overflow,[ne?"margin"+(h?"Left":"Right"):"marginBottom"]:te?void 0:-Ce.scrollbarWidth},ref:Me,children:[(0,Z.jsx)(X,{"aria-label":g,"aria-labelledby":w,"aria-orientation":"vertical"===N?"vertical":null,className:ue.flexContainer,ownerState:de,onKeyDown:e=>{const t=Pe.current,o=(0,F.Z)(t).activeElement;if("tab"!==o.getAttribute("role"))return;let r="horizontal"===N?"ArrowLeft":"ArrowUp",n="horizontal"===N?"ArrowRight":"ArrowDown";switch("horizontal"===N&&h&&(r="ArrowRight",n="ArrowLeft"),e.key){case r:e.preventDefault(),D(t,o,A);break;case n:e.preventDefault(),D(t,o,L);break;case"Home":e.preventDefault(),D(t,null,L);break;case"End":e.preventDefault(),D(t,null,A)}},ref:Pe,role:"tablist",children:De}),he&&Le]}),He.scrollButtonEnd]}))}))},71657:function(e,t,o){o.d(t,{Z:function(){return i}});var r=o(29628),n=o(90247),l=o(10606);function i({props:e,name:t}){return(0,r.Z)({props:e,name:t,defaultTheme:n.Z,themeId:l.Z})}},1819:function(e,t,o){o.d(t,{Z:function(){return y}});var r=o(63366),n=o(87462),l=o(67294),i=o(70828),a=o(4953),s=o(34867),c=o(94780),d=o(45098),u=o(29628),p=o(39707),f=o(17172),h=o(95408),b=o(98700),m=o(85893);const v=["component","direction","spacing","divider","children","className","useFlexGap"],g=(0,f.Z)(),S=(0,d.Z)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Z(e){return(0,u.Z)({props:e,name:"MuiStack",defaultTheme:g})}function w(e,t){const o=l.Children.toArray(e).filter(Boolean);return o.reduce(((e,r,n)=>(e.push(r),n{let o=(0,n.Z)({display:"flex",flexDirection:"column"},(0,h.k9)({theme:t},(0,h.P$)({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=(0,b.hB)(t),n=Object.keys(t.breakpoints.values).reduce(((t,o)=>(("object"===typeof e.spacing&&null!=e.spacing[o]||"object"===typeof e.direction&&null!=e.direction[o])&&(t[o]=!0),t)),{}),l=(0,h.P$)({values:e.direction,base:n}),i=(0,h.P$)({values:e.spacing,base:n});"object"===typeof l&&Object.keys(l).forEach(((e,t,o)=>{if(!l[e]){const r=t>0?l[o[t-1]]:"column";l[e]=r}}));const s=(t,o)=>{return e.useFlexGap?{gap:(0,b.NA)(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${n=o?l[o]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[n]}`]:(0,b.NA)(r,t)}};var n};o=(0,a.Z)(o,(0,h.k9)({theme:t},i,s))}return o=(0,h.dt)(t.breakpoints,o),o};function y(e={}){const{createStyledComponent:t=S,useThemeProps:o=Z,componentName:a="MuiStack"}=e,d=t(x);return l.forwardRef((function(e,t){const l=o(e),u=(0,p.Z)(l),{component:f="div",direction:h="column",spacing:b=0,divider:g,children:S,className:Z,useFlexGap:x=!1}=u,y=(0,r.Z)(u,v),C={direction:h,spacing:b,useFlexGap:x},k=(0,c.Z)({root:["root"]},(e=>(0,s.ZP)(a,e)),{});return(0,m.jsx)(d,(0,n.Z)({as:f,ownerState:C,ref:t,className:(0,i.Z)(k.root,Z)},y,{children:g?w(S,g):S}))}))}},83486:function(e,t,o){function r(e){var t,o,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var l=e.length;for(t=0;t